@import './var.css';
@import './FormCreate/index.scss';
@import 'element-plus/theme-chalk/dark/css-vars.css';

.reset-margin [class*='el-icon'] + span {
  margin-left: 2px !important;
}

.el-card {
  border: none !important;
  // --el-card-border-radius: 6px !important;
}

.el-table--default .el-table__cell {
  padding: 10px 0px !important;
}

.el-drawer__header .el-drawer__title {
  font-size: 15px;
}

// 解决抽屉弹出时，body宽度变化的问题
.el-popup-parent--hidden {
  width: 100% !important;
}

// 解决表格内容超过表格总宽度后，横向滚动条前端顶不到表格边缘的问题
.el-scrollbar__bar {
  display: flex;
  justify-content: flex-start;
}

/* nprogress 适配 element-plus 的主题色 */
#nprogress {
  & .bar {
    background-color: var(--el-color-primary) !important;
  }

  & .peg {
    box-shadow:
      0 0 10px var(--el-color-primary),
      0 0 5px var(--el-color-primary) !important;
  }

  & .spinner-icon {
    border-top-color: var(--el-color-primary);
    border-left-color: var(--el-color-primary);
  }
}

.Line_title {
  height: 40px;
  width: 100%;
  font-size: 14px;
  font-weight: bold;
  color: #000c;
  position: relative;
  padding: 0px 10px;
  display: flex;
  align-items: center;
}
.Line_title:before {
  position: absolute;
  content: '';
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background-color: #2681f3;
}
